<template>
	<view :class="vi_pageSize">
		<vi-notify :top="topfix" ref="vi_notify"></vi-notify>
		<module-loading ref="vi_loading" :loading="vi_loading" :loadingMask="vi_loadingMask"></module-loading>
		<vi-headbar goback>
			<view slot="right">
				响应式
				<text class="response">开启</text>
				<text class="noresponse color-warning">关闭</text>
			</view>
			{{vi_pageTitle}}
		</vi-headbar>
		<view class="docTable">
			<view class="th">
				<view>属性名</view>
				<view>类型</view>
				<view>默认值</view>
				<view>描述</view>
			</view>
			<view class="tr">
				<view>value</view>
				<view>String, Number</view>
				<view>无</view>
				<view>密码框默认值</view>
			</view>
			<view class="tr">
				<view>placeholder</view>
				<view>String</view>
				<view>无</view>
				<view>空值提示</view>
			</view>
			<view class="tr">
				<view>placeholderClass</view>
				<view>Boolean</view>
				<view>无</view>
				<view>空值提示样式类名，全局样式或穿透样式有效</view>
			</view>
			<view class="tr">
				<view>maxlength</view>
				<view>Number</view>
				<view>26</view>
				<view>最大输入长度</view>
			</view>
			<view class="tr">
				<view>disabled</view>
				<view>Boolean</view>
				<view>false</view>
				<view>禁用</view>
			</view>
			<view class="tr extra">
				<view class="body">
					<view>icon</view>
					<view>Object</view>
					<view></view>
					<view>iconfont图标数据覆盖</view>
				</view>
				<view class="appendix">
					格式：{key:"图标名"}
					<view>close：icon-eye-close 密码状态</view>
					<view>open：icon-eye-open 明文状态</view>
				</view>
			</view>
			<view class="tr">
				<view>@input</view>
				<view>事件</view>
				<view>	</view>
				<view>输入事件，提交当前值，可用于model</view>
			</view>
			<view class="tr">
				<view>@blur</view>
				<view>事件</view>
				<view>	</view>
				<view>失去焦点事件，提交当前值</view>
			</view>
		</view>
		
		
		<view class="p-sm">
			<view class="py-sm">
				基本使用：{{"&lt;vi-button>按钮文字或带图标&lt;/vi-button>"}}
			</view>
			<view class="p-md w-e10">
				<vi-password value="123456789"></vi-password>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.response{
	display: if($useResponse, inline, none);
}
.noresponse{
	display: if($useResponse, none, inline);
}
</style>
